
<?php
echo "<select id='loai' name='loai'>";
    foreach ($loai as $item)
    {
        echo "<option value='".$item["maloai"]."'>";
        echo $item["tenloai"];
        echo "</option>";
    }
    echo "</select>";
?>
